<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>

        <ui:composition template="./TemplatePrincipal.xhtml">

            <ui:define name="top">
                Bienvenido <h:outputText value="#{accessBean.name}"/>
                
            </ui:define>

            <ui:define name="left">
                
            </ui:define>

            <ui:define name="right">
                
            </ui:define>

            <ui:define name="content">
                
                 <p:panel header="Menu principal ">
                <h:form>
                    <h:panelGrid columns="13">
                    <p:commandButton action="AutorLista" value="Autor"/><br/>                   
                    <p:commandButton action="UsuarioLista" value="Usuario"/><br/>
                    <p:commandButton action="LibroLista" value="Libro" ajax="false"/><br/>
                    <p:commandButton action="ListaPrestamos" value="Prestamo"/><br/>
                    <p:commandButton action="CategoriaLista" value="Categoria"/><br/>
                    <p:commandButton action="ModuloLibroCategoria" value="LibroCategoria"/><br/>
                    <p:commandButton action="ModuloDetallePrestamo" value="DetallePrestamo"/><br/>
                    </h:panelGrid>
                    <img src="resources/Biblioteca.jpg" width="860" height="490" alt="es"/>
                </h:form>
                     
                 </p:panel> </ui:define>

        </ui:composition>

    </body>
</html>
